package cn.e4j.modular.erp.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 学习网址 https://www.jianshu.com/p/5d67fb720ece
 * </p>
 *
 * @author Ape_Andy
 * @since 2019-06-11
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWAH_T")
public class Cxrq001Export extends PO<Cxrq001Export> {

    private static final long serialVersionUID = 1L;
    /**
     * 流水号
     */
    @TableField(fill = FieldFill.INSERT)
    @TableId(value = "ID", type = IdType.INPUT)
    private String ID;

    @Excel(name = "ERP据点")
    private String COMPANY;

    @Excel(name = "客户编号")
    private String kh;

    @Excel(name = "交易对象简称")
    private String kh_name;

    @Excel(name = "单号-项次")
    private String docno_xc;

    @Excel(name = "单据日期")
    private String rq;

    @Excel(name = "发货型号")
    private String fhxh;

    @Excel(name = "宽",type = 10)
    private String kuan;

    @Excel(name = "高",type = 10)
    private String gao;

    @Excel(name = "结案理由码")
    private String jiean;

    @Excel(name = "计算项目")
    private String jisuan_xm;

    @Excel(name = "数量",type = 10)
    private String sl;

    @Excel(name = "出货数量",type = 10)
    private String xmdd014;

    @Excel(name = "单价",type = 10)
    private String dj;

    @Excel(name = "备注")
    private String bz;

    @Excel(name = "应收金额",type = 10)
    private String yingshou;

    @Excel(name = "收回金额",type = 10)
    private String shouhui;

    @Excel(name = "余额",type = 10)
    private String yue;

    @Override
    protected Serializable pkVal() {
        return this.ID;
    }

}
